package cn.yup.service;

import cn.yup.domain.WorkJob;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IWorkJobService {

    PageInfo findAll(String name);

    void deleteById(Long id);

    void saveOrUpdate(WorkJob workJob);

    WorkJob findById(Long id);

    List<WorkJob> listAll();

    WorkJob getWorkJobByName(String job);
}
